package com.aidex.biz.domain;

import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.aidex.common.utils.log.annotation.FieldRemark;
import com.aidex.common.utils.log.annotation.LogField;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.aidex.common.annotation.Excel;
import com.aidex.common.core.domain.BaseEntity;

/**
 * 业务设置对象 biz_business_set
 *
 * @author sean
 * @email 2074844820@qq.com
 * @date 2024-04-25
 */
@Data
public class BusinessSet extends BaseEntity<BusinessSet> {
    private static final long serialVersionUID = 1L;


    /**
     * 已成交客户自动变更设置（提示：此项为单独设置与其它设置不关联.）
     * 自动变更设置： 进件状态为：yfk 已放款,dfk 待放款 ,jjz 进件中
     * 已放款，客户状态自动变更为【成交客户】。
     */
    private String jinjianStatusValue;

    /**
     * 可以锁客数量
     */
    private Integer managerLockNums;
    /**
     * 锁客时间
     */
    private Integer managerLockTimes;

    /**
     * 最多能领多少客户
     */
    private Integer moreCustomerCounts;
    /**
     * 客户被领取后
     * 48
     * (小时)内未进行跟进，客户自动转入公海。
     */
    private Integer customerToGonghaiTimes;
    /**
     * 是否开启
     * 客户被领取后
     * 48
     * (小时)内未进行跟进，客户自动转入公海。
     */
    private Integer isCustomerToGonghai;

    /**
     * 我的客户入公海
     * 连续
     * 1(天)未对客户进行跟进，且客户状态处于潜在客户，客户自动转入公海。
     * <p>
     * 是否开启 连续多少天 规则1
     */
    private Integer isOneStatus;
    private Integer contactTimesToGonghaiOne;
    private String oneStatus;
    /**
     * 是否开启 连续多少天 规则2
     */
    private Integer isTwoStatus;
    private Integer contactTimesToGonghaiTwo;
    private String twoStatus;
    /**
     * 是否开启 连续多少天 规则3
     */
    private Integer isThreeStatus;
    private Integer contactTimesToGonghaiThree;
    private String threeStatus;


    /**
     * 线索池入公海
     * 是否开启
     */
    private Integer isGetXianSuoToGonghai;
    private Integer xianSuoToGonghaiTimes;

    /**
     * 连续
     * 1(天)未对客户进行跟进，且客户状态处于潜在客户，客户自动转入公海。
     */
    private Integer isXianSuoStatus;
    private Integer contactTimesToGonghaiByXianSuoChi;
    private String xianSuoChiStatus;

    /**
     * 公海领取设置
     */
    private Integer isTime; // 是否开启
    private String startTime;
    private String endTime;


    /**
     * 重复客户标记
     */
    private Integer isRepMarkTimes;// 是否开启
    private Integer repMarkTimes;

    /**
     * 排序
     */
    private Integer sort;


    /**
     * 新客户设置
     */
    private Integer isNewShareOpen; // 是否开启
    private String newShareStartTime;
    private String newShareEndTime;


    /**
     * 重复客户设置
     */
    private Integer isZkShareOpen; // 是否开启
    private String zkShareStartTime;
    private String zkShareEndTime;

    /**
     * 未接流转设置
     */
    private Integer isWjWorkTimeOpen; // 是否开启
    private Integer isWjTimesOpen; // 是否开启
    private Integer isWjCountsOpen; // 是否开启
    private String wjWorkStartTime;//工作时间开始时间
    private String wjWorkEndTime;//工作时间结束时间
    private Integer wjTimes;//未接距现在的时间
    private Integer wjCounts;//未接次数


    /**
     * 状态（0正常 1 停用）
     */
    private String status;

    public String getJinjianStatusValue() {
        return jinjianStatusValue;
    }

    public void setJinjianStatusValue(String jinjianStatusValue) {
        this.jinjianStatusValue = jinjianStatusValue;
    }

    public Integer getManagerLockNums() {
        return managerLockNums;
    }

    public void setManagerLockNums(Integer managerLockNums) {
        this.managerLockNums = managerLockNums;
    }

    public Integer getManagerLockTimes() {
        return managerLockTimes;
    }

    public void setManagerLockTimes(Integer managerLockTimes) {
        this.managerLockTimes = managerLockTimes;
    }

    public Integer getCustomerToGonghaiTimes() {
        return customerToGonghaiTimes;
    }

    public void setCustomerToGonghaiTimes(Integer customerToGonghaiTimes) {
        this.customerToGonghaiTimes = customerToGonghaiTimes;
    }

    public Integer getIsCustomerToGonghai() {
        return isCustomerToGonghai;
    }

    public void setIsCustomerToGonghai(Integer isCustomerToGonghai) {
        this.isCustomerToGonghai = isCustomerToGonghai;
    }

    public Integer getIsOneStatus() {
        return isOneStatus;
    }

    public void setIsOneStatus(Integer isOneStatus) {
        this.isOneStatus = isOneStatus;
    }

    public Integer getContactTimesToGonghaiOne() {
        return contactTimesToGonghaiOne;
    }

    public void setContactTimesToGonghaiOne(Integer contactTimesToGonghaiOne) {
        this.contactTimesToGonghaiOne = contactTimesToGonghaiOne;
    }

    public String getOneStatus() {
        return oneStatus;
    }

    public void setOneStatus(String oneStatus) {
        this.oneStatus = oneStatus;
    }

    public Integer getIsTwoStatus() {
        return isTwoStatus;
    }

    public void setIsTwoStatus(Integer isTwoStatus) {
        this.isTwoStatus = isTwoStatus;
    }

    public Integer getContactTimesToGonghaiTwo() {
        return contactTimesToGonghaiTwo;
    }

    public void setContactTimesToGonghaiTwo(Integer contactTimesToGonghaiTwo) {
        this.contactTimesToGonghaiTwo = contactTimesToGonghaiTwo;
    }

    public String getTwoStatus() {
        return twoStatus;
    }

    public void setTwoStatus(String twoStatus) {
        this.twoStatus = twoStatus;
    }

    public Integer getIsThreeStatus() {
        return isThreeStatus;
    }

    public void setIsThreeStatus(Integer isThreeStatus) {
        this.isThreeStatus = isThreeStatus;
    }

    public Integer getContactTimesToGonghaiThree() {
        return contactTimesToGonghaiThree;
    }

    public void setContactTimesToGonghaiThree(Integer contactTimesToGonghaiThree) {
        this.contactTimesToGonghaiThree = contactTimesToGonghaiThree;
    }

    public String getThreeStatus() {
        return threeStatus;
    }

    public void setThreeStatus(String threeStatus) {
        this.threeStatus = threeStatus;
    }

    public Integer getIsGetXianSuoToGonghai() {
        return isGetXianSuoToGonghai;
    }

    public void setIsGetXianSuoToGonghai(Integer isGetXianSuoToGonghai) {
        this.isGetXianSuoToGonghai = isGetXianSuoToGonghai;
    }

    public Integer getXianSuoToGonghaiTimes() {
        return xianSuoToGonghaiTimes;
    }

    public void setXianSuoToGonghaiTimes(Integer xianSuoToGonghaiTimes) {
        this.xianSuoToGonghaiTimes = xianSuoToGonghaiTimes;
    }

    public Integer getIsXianSuoStatus() {
        return isXianSuoStatus;
    }

    public void setIsXianSuoStatus(Integer isXianSuoStatus) {
        this.isXianSuoStatus = isXianSuoStatus;
    }

    public Integer getContactTimesToGonghaiByXianSuoChi() {
        return contactTimesToGonghaiByXianSuoChi;
    }

    public void setContactTimesToGonghaiByXianSuoChi(Integer contactTimesToGonghaiByXianSuoChi) {
        this.contactTimesToGonghaiByXianSuoChi = contactTimesToGonghaiByXianSuoChi;
    }

    public String getXianSuoChiStatus() {
        return xianSuoChiStatus;
    }

    public void setXianSuoChiStatus(String xianSuoChiStatus) {
        this.xianSuoChiStatus = xianSuoChiStatus;
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("userId", getUserId())
                .append("deptId", getDeptId())
                .append("userName", getUserName())
                .append("deptName", getDeptName())
                .append("companyId", getCompanyId())
                .append("jinjianStatusValue", getJinjianStatusValue())
                .append("managerLockNums", getManagerLockNums())
                .append("managerLockTimes", getManagerLockTimes())
                .append("customerToGonghaiTimes", getCustomerToGonghaiTimes())
                .append("isCustomerToGonghai", getIsCustomerToGonghai())
                .append("isOneStatus", getIsOneStatus())
                .append("contactTimesToGonghaiOne", getContactTimesToGonghaiOne())
                .append("oneStatus", getOneStatus())
                .append("isTwoStatus", getIsTwoStatus())
                .append("contactTimesToGonghaiTwo", getContactTimesToGonghaiTwo())
                .append("twoStatus", getTwoStatus())
                .append("isThreeStatus", getIsThreeStatus())
                .append("contactTimesToGonghaiThree", getContactTimesToGonghaiThree())
                .append("threeStatus", getThreeStatus())
                .append("isGetXianSuoToGonghai", getIsGetXianSuoToGonghai())
                .append("xianSuoToGonghaiTimes", getXianSuoToGonghaiTimes())
                .append("isXianSuoStatus", getIsXianSuoStatus())
                .append("contactTimesToGonghaiByXianSuoChi", getContactTimesToGonghaiByXianSuoChi())
                .append("xianSuoChiStatus", getXianSuoChiStatus())
                .append("startTime", getStartTime())
                .append("endTime", getEndTime())
                .append("isRepMarkTimes", getIsRepMarkTimes())
                .append("sort", getSort())
                .append("status", getStatus())
                .append("remark", getRemark())
                .append("id", getId())
                .append("createBy", getCreateBy())
                .append("createDept", getCreateDept())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .append("updateIp", getUpdateIp())
                .append("version", getVersion())
                .append("delFlag", getDelFlag())
                .toString();
    }
}
